package com.example.zqm.git72.Service;

import com.example.zqm.git72.JavaBean.Club;
import com.example.zqm.git72.JavaBean.DetailShaiTu;
import com.example.zqm.git72.JavaBean.Photo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/4/10.
 */

public interface PhotoService {
 @GET("workout/api.php/lists/mod/shaitu/related/1")
    Call<List<DetailShaiTu>>getList();
    @GET("workout/api.php/get/mod/shaitu/related/1/id/{id}")
    Call<DetailShaiTu>getPhotoById(
            @Path("id") String id
    );
   @GET("workout/api.php/create/mod/shaireply")
   Call<String>createreply(
           @Query("shaitu_id") String shaitu_id,
           @Query("userid") String userid,
           @Query("reply_userid") String reply_userid,
           @Query("reply") String reply
   );
    @GET("workout/api.php/fcreate/mod/shaitu")
            Call<String>fcreate(
            @Query("userid") String userid,
            @Query("title")  String title
    );
}
